<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<%@include file="/WEB-INF/jsp/include/tags.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>site - write</title>
	<link rel="stylesheet" type="text/css" href="/css/style.css"/>
	<script type="text/javascript">
	<!--
		function goList() {
			var f = document.siteCriteriaForm;
			f.submit();
		}
	//-->
	</script>
</head>
<body>
	
	<p><a href="/">home</a></p>
	
	<h1>Site - write</h1>
	
	<form:form commandName="siteCriteria" id="siteCriteriaForm" name="siteCriteriaForm" action="/site.do" method="get">
	<input type="hidden" name="mode"/>
	<form:hidden path="siteId"/>
	<form:hidden path="paging.currentPage"/>
	</form:form>

	<form:form commandName="site" name="siteForm" action="/siteWrite.do">
	<input type="hidden" name="mode" value="write"/>
	<table width="800">
		<colgroup width="800">
			<col width="100"/>
			<col width="*"/>
		</colgroup>
		<tr>
			<th>siteId</th>
			<td>
				<form:input path="siteId"/>
				<form:errors path="siteId" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>configId</th>
			<td>
				<form:input path="configId"/>
				<form:errors path="configId" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>ftpUploadId</th>
			<td>
				<form:input path="ftpUploadId"/>
				<form:errors path="ftpUploadId" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>domain</th>
			<td>
				<form:input path="domain"/>
				<form:errors path="domain" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>sitePath</th>
			<td>
				<form:input path="sitePath"/>
				<form:errors path="sitePath" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>siteName</th>
			<td>
				<form:input path="siteName"/>
				<form:errors path="siteName" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>shortName</th>
			<td>
				<form:input path="shortName"/>
				<form:errors path="shortName" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>protocol</th>
			<td>
				<form:input path="protocol"/>
				<form:errors path="protocol" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>dynamicSuffix</th>
			<td>
				<form:input path="dynamicSuffix"/>
				<form:errors path="dynamicSuffix" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>staticSuffix</th>
			<td>
				<form:input path="staticSuffix"/>
				<form:errors path="staticSuffix" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>staticDir</th>
			<td>
				<form:input path="staticDir"/>
				<form:errors path="staticDir" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>isIndexToRoot</th>
			<td>
				<form:input path="isIndexToRoot"/>
				<form:errors path="isIndexToRoot" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>isStaticIndex</th>
			<td>
				<form:input path="isStaticIndex"/>
				<form:errors path="isStaticIndex" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>localeAdmin</th>
			<td>
				<form:input path="localeAdmin"/>
				<form:errors path="localeAdmin" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>localeFront</th>
			<td>
				<form:input path="localeFront"/>
				<form:errors path="localeFront" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>tplSolution</th>
			<td>
				<form:input path="tplSolution"/>
				<form:errors path="tplSolution" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>finalStep</th>
			<td>
				<form:input path="finalStep"/>
				<form:errors path="finalStep" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>afterCheck</th>
			<td>
				<form:input path="afterCheck"/>
				<form:errors path="afterCheck" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>isRelativePath</th>
			<td>
				<form:input path="isRelativePath"/>
				<form:errors path="isRelativePath" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>isRecycleOn</th>
			<td>
				<form:input path="isRecycleOn"/>
				<form:errors path="isRecycleOn" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>domainAlias</th>
			<td>
				<form:input path="domainAlias"/>
				<form:errors path="domainAlias" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>domainRedirect</th>
			<td>
				<form:input path="domainRedirect"/>
				<form:errors path="domainRedirect" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>isMaster</th>
			<td>
				<form:input path="isMaster"/>
				<form:errors path="isMaster" cssClass="errorMessage"/>
			</td>
		</tr>
	</table>
	<input type="submit" value="write"/>
	</form:form>

	<a href="javascript:goList();">list</a>

</body>
</html>
